//#include <iostream>
////#include "iterators.h"
//
////#include "mkl_types.h"
////#include "mkl_cblas.h"
//
//#include "TensorDense.h"
//
////#include "Timer.h"
//
//#include <boost/type_traits.hpp>
////
////// used to get rid of errors in eclipse CDT
////#ifndef __CDT_PARSER__
////
////template <class T>
////void
////foo(T val, typename boost::enable_if< boost::is_const<T> >::type* = 0)
////{
////    std::cout << "Const" << std::endl;
////}
////
////template <class T>
////void
////foo(T val, typename boost::disable_if< boost::is_const<T> >::type* = 0)
////{
////    std::cout << "Not Const" << std::endl;
////}
////#else
////template<typename T>
////T foo(T val)
////{
////    return T;
////}
////#endif
//
//int main()
//{
//    cmpMat::TensorDense<double> matt;
//    std::string str = "[1,2,3,4;1,2,3,4;1,2,3,4]";
//    std::istringstream sstr(str);
//    matt.loadFromMAT(sstr);
//
//
//    return 0;
//    //std::initializer_list<int> init2;
//    //int i = init2.size();
//
//    cmpMat::TensorDense<double> mat(3,3,3);
//
//    //mat.setByIndexValue([](cmpMat::CmpMatPtr ndx, double val){return ndx;});
//    const cmpMat::TensorBase<double>& mat2 = mat;
//    int x,y,z;
//    do
//    {
//        std::cout << "x: ";
//        std::cin >> x;
//        std::cout << "y: ";
//        std::cin >> y;
//        std::cout << "z: ";
//        std::cin >> z;
//        std::cout << "(" << x<< ", " << y << ", " << z << "): "
//                << mat2(x, y, z) << std::endl;
//    } while(true);
//    return 0;
//}
